export default {
  SELECTCITY(state, city) {
    state.city = city;
    try {
      // 同时保存到本地
      localStorage.setItem("city", city);
    } catch (error) {
      console.log(error.message);
    }
  }
};
